/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Logica.Core.PersonaLegal;

import java.io.Serializable;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 *
 * @author Luciano
 */
@MappedSuperclass
public abstract class PersonaJuridica extends PersonaLegal implements Serializable{

    @Id
    private String cuil;

    public PersonaJuridica() {
    }

    public PersonaJuridica(String cuil) {
        this.cuil = cuil;
    }

    public PersonaJuridica(String cuil, String nombre, String direccion, String email, String telefono) {
        super(nombre, direccion, email, telefono);
        this.cuil = cuil;
    }

    public String getCuil() {
        return cuil;
    }

    public void setCuil(String cuil) {
        this.cuil = cuil;
    }

    
}
